import App from './App'

import { request } from './utils/request.js'
import Api from './config/api.js'

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'

// 客服
import clothes from './pages/clothes.vue'
Vue.component('clothes', clothes)
// 暂无数据
import NoData from './components/NoData.vue'
Vue.component('NoData', NoData)




Vue.prototype.$REQ = request
Vue.prototype.$api = Api
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({ 
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3






import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif